package com.example.kingweather.utils;

import com.example.kingweather.bean.AirBean;
import com.example.kingweather.bean.WeatherBean;

import retrofit2.http.GET;
import retrofit2.http.Query;
import rx.Observable;


public interface BaseApis {
    @GET("weather?key=3b5e067dfe714b4ea41a15ee91118fef")
    Observable<WeatherBean> getNowWeather(@Query("location") String location);

    @GET("air?key=3b5e067dfe714b4ea41a15ee91118fef")
    Observable<AirBean> getNowAir(@Query("location") String location);
}

